package com.ybl.store.backend.dao.mapper.store;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ybl.store.backend.dao.entity.store.LogProductNumberDO;
import com.ybl.store.backend.dto.resp.store.LogProductNumberPageRespDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LogProductNumberMapper extends BaseMapper<LogProductNumberDO> {
    
    List<LogProductNumberPageRespDTO> pageLogProduct(Page<LogProductNumberPageRespDTO> pageParam, @Param(Constants.WRAPPER) QueryWrapper<LogProductNumberDO> queryWrapper);

    Long count(@Param(Constants.WRAPPER) QueryWrapper<LogProductNumberDO> queryWrapper);
}
